package com.karumi.dexter.simple;

import com.karumi.dexter.listener.DexterError;
import com.karumi.dexter.listener.PermissionRequestErrorListener;
import com.karumi.dexter.uitool.DexterLogUtil;

/**
 * 错误监听
 */
public class SampleErrorListener implements PermissionRequestErrorListener {
    @Override
    public void onError(DexterError error) {
        DexterLogUtil.info("Dexter", "There was an error: " + error.toString());
    }
}
